package com.jic.product.store.response;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ProductCommentResponse {
    //id
    private long id;
    //评论渠道 “H5” “PC”
    private String channel;
    //所属商家
    private Long deptId;
    //父级id
    private Long pid;
    //类型 0:评论 1:追评
    private Integer type;
    //用户id
    private Long memberId;
    //订单编号
    private String orderNo;
    //商品id
    private Long productId;
    //商品名称
    private String productName;
    //商品主图
    private String productImg;
    //评论内容
    private String content;
    //评价星级
    private Integer startNum;
    //状态 0：待审核 1：审核通过 2：审核拒绝
    private Integer status;
    //置顶状态 0:未置顶 1:已置顶
    private Integer stickyStatus;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;

    //图片列表
    private Object fileList;

    //商品编码
    private String productCode;
    //所属分类
    private String productType;
    //用户账号
    private String memberAccount;

    private List<ProductCommentResponse> children;

}
